home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 1 / QRZ Ham Radio Callsign Database - December 1993.iso / ucsd / packet / tcpip / amiga / asrc29k.lha / trace.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-08  |  2.0 KB  |  67 lines

  1. #ifndef    TRACE_INCL
  2. #define    TRACE_INCL
  3.  
  4. /* Definitions for packet dumping */
  5.  
  6. /* List of address testing and tracing functions for each interface.
  7.  * Entries are placed in this table by conditional compilation in main.c.
  8.  */
  9. struct trace {
  10.     int (*addrtest) __ARGS((struct iface *iface,struct mbuf *bp));
  11.     void (*tracef) __ARGS((FILE *,struct mbuf **,int));
  12. };
  13.  
  14. extern struct trace Tracef[];
  15.  
  16. /* In trace.c: */
  17. void dump __ARGS((struct iface *iface,int direction,unsigned type,struct mbuf *bp));
  18. void raw_dump __ARGS((struct iface *iface,int direction, struct mbuf *bp));
  19.  
  20. /* In arpdump.c: */
  21. void arp_dump __ARGS((FILE *fp,struct mbuf **bpp));
  22.  
  23. /* In ax25dump.c: */
  24. void ax25_dump __ARGS((FILE *fp,struct mbuf **bpp,int check));
  25. int ax_forus __ARGS((struct iface *iface,struct mbuf *bp));
  26.  
  27. /* In enetdump.c: */
  28. void ether_dump __ARGS((FILE *fp,struct mbuf **bpp,int check));
  29. int ether_forus __ARGS((struct iface *iface,struct mbuf *bp));
  30.  
  31. /* In icmpdump.c: */
  32. void icmp_dump __ARGS((FILE *fp,struct mbuf **bpp,int32 source,int32 dest,int check));
  33.  
  34. /* In ipdump.c: */
  35. void ip_dump __ARGS((FILE *fp,struct mbuf **bpp,int check));
  36.  
  37. /* In kissdump.c: */
  38. void ki_dump __ARGS((FILE *fp,struct mbuf **bpp,int check));
  39. int ki_forus __ARGS((struct iface *iface,struct mbuf *bp));
  40.  
  41. /* In pppdump.c: */
  42. void ppp_dump __ARGS((FILE *fp, struct mbuf **bpp, int check));
  43.  
  44. /* In nrdump.c: */
  45. void netrom_dump __ARGS((FILE *fp,struct mbuf **bpp));
  46.  
  47. /* In ripdump.c: */
  48. void rip_dump __ARGS((FILE *fp,struct mbuf **bpp));
  49.  
  50. /* In slcompdu.c: */
  51. void sl_dump __ARGS((FILE *fp, struct mbuf **bpp,int check));
  52. void vjcomp_dump __ARGS((FILE *fp,struct mbuf **bpp,int unused));
  53.  
  54. /* In rspfdump.c: */
  55. void rspf_dump __ARGS((FILE *fp,struct mbuf **bpp,int32 source,int32 dest,int check));
  56.  
  57. /* In rwhodump.c: */
  58. void rwho_dump __ARGS((FILE *fp,struct mbuf **bpp));
  59.  
  60. /* In tcpdump.c: */
  61. void tcp_dump __ARGS((FILE *fp,struct mbuf **bpp,int32 source,int32 dest,int check));
  62.  
  63. /* In udpdump.c: */
  64. void udp_dump __ARGS((FILE *fp,struct mbuf **bpp,int32 source,int32 dest,int check));
  65.  
  66. #endif    /* TRACE_INCL */
  67.